package com.mnemonic;

import java.util.ArrayList;
import java.util.List;

import com.mnemonic.domain.Level;

/**
 * 一些默认的级别
 * 
 * @author lifeng
 * @date 2021/05/13
 */
public class Levels {

    public static List<Level> getLevels() {
        List<Level> defaults = new ArrayList<>();
        Level level = new Level();
        level.setId("0");
        level.setName("普通");
        level.setRow(9);
        level.setCol(9);
        level.setMine(10);
        level.setBoutOps(1);
        level.setBoutTimeOut(-1);
        defaults.add(level);

        level = new Level();
        level.setId("1");
        level.setName("中级");
        level.setRow(16);
        level.setCol(16);
        level.setMine(40);
        level.setBoutOps(1);
        level.setBoutTimeOut(-1);
        defaults.add(level);

        level = new Level();
        level.setId("2");
        level.setName("高级");
        level.setRow(16);
        level.setCol(30);
        level.setMine(99);
        level.setBoutOps(1);
        level.setBoutTimeOut(60); // 可以等待60秒
        defaults.add(level);
        return defaults;
    }
}
